<template>
  <div id="app">
    <div class="login">
      <div class="content">
        <div class="title">微信登录</div>
        <div class="body">
            <div class="content_body">
                <img :src="img.name" alt="">
            </div>
            <div class="footer">
                <p>请使用微信扫描二维码登录</p>
                <p>“安顺职业技术学院网”</p>
            </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { reactive } from '@vue/reactivity';
export default {
    setup() {
        const img = reactive({
            name:require('@/assets/Wechatlogo.jpg')
        })
        return{
            img
        }
    }
};
</script>

<style scoped>
* {
  margin: 0;
  padding: 0;
}
.login {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #333333;
}
.content{
    margin-top: 10vh;
    text-align: center;
}
.title {
  font-size: 20px;
  text-align: center;
  color: #fff;
}
.content_body img{
   width: 280px;
   margin-top: 15px;
   border: 1px solid #E2E2E2;
}
.footer{
  width: 280px;
  height: 55px;
  border-radius: 30px;
  margin: 0 auto;
  margin-top: 15px;
  background-color: #232323;
  color: #fff;
  text-align: center;
  padding: 7px 14px;
}
</style>